import type { RouteRecordRaw } from 'vue-router';

import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    name: 'Home',
    path: '/home',
    component: () => import('#/views/home/index.vue'),
    meta: {
      title: '首页',
      icon: 'lucide:home',
      orderNo: 1,
    },
  },
  {
    name: 'TextToImage',
    path: '/ai-generator/text-to-image',
    component: () => import('#/views/ai-generator/text-to-image/index.vue'),
    meta: {
      title: '文生图',
      icon: 'lucide:type',
      orderNo: 2,
    },
  },
  {
    name: 'ImageToImage',
    path: '/ai-generator/image-to-image',
    component: () => import('#/views/ai-generator/image-to-image/index.vue'),
    meta: {
      title: '图生图',
      icon: 'lucide:image-plus',
      orderNo: 3,
    },
  },
  {
    name: 'ImageToVideo',
    path: '/ai-generator/image-to-video',
    component: () => import('#/views/ai-generator/image-to-video/index.vue'),
    meta: {
      title: '图生视频',
      icon: 'lucide:video',
      orderNo: 4,
    },
  },
  {
    name: 'SmartCrop',
    path: '/ai-transform/smart-crop',
    component: () => import('#/views/ai-transform/smart-crop/index.vue'),
    meta: {
      title: '智能剪辑',
      icon: 'lucide:crop',
      orderNo: 5,
    },
  },
  {
    name: 'ImageExpand',
    path: '/ai-transform/image-expand',
    component: () => import('#/views/ai-transform/image-expand/index.vue'),
    meta: {
      title: '图片扩图',
      icon: 'lucide:expand',
      orderNo: 6,
    },
  },
  {
    name: 'ClothingTransfer',
    path: '/ai-transform/clothing-transfer',
    component: () => import('#/views/ai-transform/clothing-transfer/index.vue'),
    meta: {
      title: '服装迁移',
      icon: 'lucide:shirt',
      orderNo: 7,
    },
  },
  {
    name: 'AiStoryVideo',
    path: '/ai-story-video',
    component: () => import('#/views/ai-story-video/index.vue'),
    meta: {
      title: 'AI故事视频',
      icon: 'lucide:video-camera',
      orderNo: 8,
    },
  },
];

export default routes; 